package com.twotiger.and.activity.others;

import android.view.LayoutInflater;
import android.view.View;
import android.widget.TextView;
import app.twotiger.p2p.R;

import com.twotiger.and.activity.base.BaseActivity;

public class RealNamePage extends BaseActivity {

    private TextView sub_title_center_tv;
    private View sub_title_left_ll;
    private TextView real_name_value;
    private TextView real_id_value;

    @Override
    protected void processLogic() {
        sub_title_center_tv.setText("实名认证信息");
        real_name_value.setText("");
        real_id_value.setText("");
    }

    @Override
    protected void setListener() {
        sub_title_left_ll.setOnClickListener(this);
    }

    @Override
    protected void findViewById(View view) {
        sub_title_center_tv = (TextView) view.findViewById(R.id.sub_title_center_tv);
        view.findViewById(R.id.sub_title_left_bt).setVisibility(View.VISIBLE);
        ;
//        sub_title_center_tv = (TextView) view.findViewById(R.id.sub_title_left_ll);
        sub_title_left_ll = view.findViewById(R.id.sub_title_left_ll);
        real_name_value = (TextView) view.findViewById(R.id.real_name_value);
        real_id_value = (TextView) view.findViewById(R.id.real_id_value);
    }

    @Override
    protected View loadViewLayout(LayoutInflater inflater) {
        View view = inflater.inflate(R.layout.activity_real_name_page, null);
        return view;
    }

    @Override
    public void onClick(View view) {
        switch (view.getId()) {
        case R.id.sub_title_left_ll:
            popBackStack();
            break;
        default:
            break;
        }

    }

    @Override
    protected void onBackPress() {
        // TODO Auto-generated method stub

    }

}
